package com.bangdream.michelia.contract;

import com.bangdream.michelia.entity.CommentBean;
import com.bangdream.michelia.entity.CoursesTypeBean;
import com.bangdream.michelia.entity.MessageBean;
import com.bangdream.michelia.entity.courses.CoursesBean;

import java.util.List;
import java.util.Map;

import io.reactivex.Observable;

/**
 * Created by Mr.Wang on 2018/3/30.
 * 909732184@qq.com
 * 课程模块
 */

public class MessageContract {

    public interface IMessageView {
        //用户站内消息--报名通知之类的?
        void setUserMessageList(boolean isSuccess, int page, List<MessageBean> data, String stDescribe);
        //全站站内消息
        void setSystemMessageList(boolean isSuccess, int page, List<MessageBean> data, String stDescribe);
        //评论
        void actionRead(boolean isSuccess, String stDescribe);
    }

    public interface ICoursesModel {
        Observable getUserMessageList(Map<Object, Object> paramsMap);
        Observable getSystemMessageList(Map<Object, Object> paramsMap);
        Observable actionRead(String id);
    }

}
